﻿
namespace MVVMAppPerformanceimprovement
{
    using System.Threading;

    class MessageOfTheDay
    {
        string _message;
        public string Message 
        {
            get
            {
                //imaginary delay
                Thread.Sleep(10000);
                return _message ;
            }
            set
            { _message = value; }
        }

        public MessageOfTheDay()
        {
            Thread.Sleep(10000);
            _message = "Drive safe!";
        }
    }
}
